package com.example.haiyang.domain;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author haiyang
 * @since 2019-11-23
 */
public class Rolesr extends Model<Rolesr> {

    private static final long serialVersionUID = 1L;

    private String id;
    private byte[] name;
    private byte[] pid;
    /**
     * 创建角色管理的时候可以使用
     */
    private byte[] description;
    private Date createtime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public byte[] getName() {
        return name;
    }

    public void setName(byte[] name) {
        this.name = name;
    }

    public byte[] getPid() {
        return pid;
    }

    public void setPid(byte[] pid) {
        this.pid = pid;
    }

    public byte[] getDescription() {
        return description;
    }

    public void setDescription(byte[] description) {
        this.description = description;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Rolesr{" +
        "id=" + id +
        ", name=" + name +
        ", pid=" + pid +
        ", description=" + description +
        ", createtime=" + createtime +
        "}";
    }
}
